package com.airlines.common;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * @author xxxx
 * @date 2018年3月30日
 * @description
 */

public class DroolsUtil {
	static Log log = LogFactory.getLog(DroolsUtil.class);

	public static void message(String msg) {
		log.debug(msg);
		return;
	}

	public static void log(Object o) {
		log.debug(o.getClass().getName());
		return;
	}

	public static boolean ck(Object o) {
		log.debug(o.getClass().toString());
		/*
		 * boolean isList = List.class.isAssignableFrom(o.getClass()); if(isList){ List
		 * list = (List)o; if(list.size()>1){ log.debug(list.size()+"");
		 * log.debug(list.toString()); }
		 * 
		 * }
		 */
		return true;
	}
}
